package com.mxx.common.data.jpa;

import javax.persistence.criteria.*;

public class IgnoreNullUpdateSpecHelper<T> extends AbstractIgnoreNullUpdateSpecHelper<IgnoreNullUpdateSpecHelper<T>, String> {

    public IgnoreNullUpdateSpecHelper(Root root, CriteriaBuilder criteriaBuilder, CriteriaQuery criteriaQuery, CriteriaUpdate criteriaUpdate) {
        super(root, criteriaBuilder, criteriaQuery,criteriaUpdate);
    }

    @Override
    public IgnoreNullUpdateSpecHelper<T> getTarget() {
        return this;
    }

    @Override
    protected Path get(String key) {
        return root.get(key);
    }
}
